﻿/* Author:
 *  Andrea Vandin
 */
using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using TripLOAMobile.WS_SoapTrip;

namespace TripLOAMobile
{
/*    public partial class ShowDrafts : ShowListMinimalTravel2
    {
        public ShowDrafts(): base()
        {
            InitializeComponent();
            //write code to acquire the list
            //then do: ListOfMinimalTravel=list...
        }

        internal ShowDrafts(TripInfo[] listOfResults, string listStatus, int numberOfDisplayedElement)
            : base(listOfResults, listStatus, numberOfDisplayedElement)
        {
            InitializeComponent();
        }

        protected override TripInfo[] getNextTravels()
        {
            return Welcome.rrp.GetAllMyDraftTravel(this.actualPage, numberOfDisplayedElement, out this.listStatus);
        }

        /// <summary>
        /// Return true only if the travels listed are bookable by the user of the mobile application "TriploaMobile"
        /// </summary>
        /// <returns></returns>
        protected override bool travelsAreBookable()
        {
            return false;
        }
    }*/
}